package com.tangtang.gulimall.member.feign;

import com.tangtang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

//这个注解调用的是模块服务的名称
@FeignClient("gulimall-coupon")
public interface GetcouponService {

    /**
     * 直接调用优惠卷的远程模块接口
     * @return
     */
    @RequestMapping("/coupon/coupon/testMembergetcoupon")
    public R getCoupon();
}
